import { getList } from "~/src/api/area"

export const addressOptions = [
  {  value: '001',  label: '青岛' },
  {  value: '002',  label: '黄岛' },
  {  value: '003',  label: '崂山' },
]
export const coinOptions = [
  {  value: '1',  label: '人民币' },
  {  value: '2',  label: '美元' },
]
// 提交-提示
export const promptTitle = '是否确认修改，如有重要信息更新，烦请确认后再提交。'

export const rules:any = {
  receiv_contact_person: [
    { required: true, message: '请输入收货联系人', trigger: 'blur' },
  ],
}
// 地区
export const areaOptions = async()=>{
  const res = await getList()
  return res.data.list
}


